<template>
 <div class="banner">
  <div class="box">
   <h6>{{ $t('home.banner.title') }}</h6>
   <p v-html="$t('home.banner.text')"></p>

   <el-button type="primary" @click="mining">To manage money</el-button>
  </div>
 </div>
</template>

<script>
export default {
 name: "Banner",
 methods: {
  mining(){
   this.$router.push({
    path: '/Mining'
   })
  }
 }
}
</script>

<style scoped lang="scss">
.banner {
 padding: 80px 0;
 background-color: #fff;
 box-shadow: rgba(179,189,199,0.15) 4px 4px 14px;
 display: flex;
 align-items: center;
 justify-content: center;

 .box {
  max-width: 935px;
  width: 95%;

  h6 {
   margin-bottom: 6px;
   padding: 0;
   font-style: normal;
   color: #b3bdc7;
   font-size: 20px;
   line-height: 26px;
   font-weight: bold;
  }
  p {
   margin: 0;
   padding: 0;
   font-style: normal;
   color: #002445;
   font-size: 56px;
   line-height: 70px;
   font-weight: 700;
  }

  .el-button {
   margin-top: 40px;
   background-color: #1792ff;
   height: 64px;
   display: flex;
   align-items: center;
   font-size: 18px;
   font-weight: bold;

   span {
    height: 100%;
   }
  }
 }
}
</style>
